package cn.arikeky.order.service;

import cn.arikeky.order.domain.OrderProduct;
import cn.arikeky.basic.service.IBaseService;
import cn.arikeky.order.dto.OrderConfirmDto;
import cn.arikeky.order.dto.OrderProductDto;
import cn.arikeky.user.domain.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author arikeky
 * @since 2022-11-03
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {

    void userOrder(OrderProductDto orderProductDto, User user);

    void confirm(OrderConfirmDto orderConfirmDto);

    void cancel(Long orderId);
}
